package com.css.zfzx.fxpg.modules.levelmap.casualty.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.levelmap.casualty.repository.entity.FxCasualtyLevelMapEntity;
import com.css.zfzx.fxpg.modules.levelmap.casualty.viewobjects.FxCasualtyLevelMapQueryParams;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */

public interface FxCasualtyLevelMapService {

    public JSONObject queryFxCasualtyLevelMaps(FxCasualtyLevelMapQueryParams queryParams, int curPage, int pageSize);

    public JSONObject queryFxCasualtyLevelMapsByFileName(FxCasualtyLevelMapQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public FxCasualtyLevelMapEntity getFxCasualtyLevelMap(String id);

    public FxCasualtyLevelMapEntity saveFxCasualtyLevelMap(FxCasualtyLevelMapEntity qhSiteClassResult);

    public FxCasualtyLevelMapEntity updateFxCasualtyLevelMap(FxCasualtyLevelMapEntity qhSiteClassResult);

    public void deleteQhRiskLevelMaps(List<String> ids);

    public JSONObject getFxCasualtyLevelMaps(FxCasualtyLevelMapQueryParams queryParams);

    public void saveOrUpdate(FxCasualtyLevelMapEntity scrEntity);

    public String importShapeFile(String filePath, String province, String city, String area, String condition);

    public String judgeFileParams(String[] datas);

    public void deleteFxCasualtyLevelMapsByFileName(List<String> fileNames);

    public Long lookUpFxCasualtyLevelMaps(FxCasualtyLevelMapQueryParams queryParams);
}
